/**
 * 获取群信息
 */
function getGroupInfo(group_id) {
    $.ajax({
        url: '/admin/groupchat/get_group_info',
        type: 'get',
        dataType: 'json',
        data: {group_id: group_id},
        success: function (res) {
            if (res.code != 0) {
                return '';
            }
            let group_info = res.info;
            /**
            let html = `<div class="group_info_content">
                        <div class="g_avatar"><img src="${group_info.avatar}"/></div>
                        <div class="g_title">
                            <p>${group_info.name}<span class="editGroupBtn">编辑</span></p>
                            <p>群聊号码：${group_info.id}</p>
                        </div>
                    </div>
                    <dl class="group_info_desc">
                        <dt>群介绍</dt>
                        <dd>${group_info.introduce}</dd>
                    </dl>
                    <dl class="group_info_desc">
                        <dt>欢迎语</dt>
                        <dd>${group_info.welcome_desc}</dd>
                    </dl>`;**/
            let html = `<div class="group_info_content">
                        <div class="g_avatar"><img src="${group_info.avatar}"/></div>
                        <div class="g_title">
                            <div><div>${group_info.name}</div><span class="editGroupBtn">编辑</span></div>
                            <p>群聊号码：${group_info.id}</p>
                        </div>
                    </div>
                    <dl class="group_info_desc">
                        <dt>群介绍</dt>
                        <dd>${group_info.introduce}</dd>
                    </dl>`;

            $('.groupInfoContent').html(html);
        },
        error: function (xhr, status, error) {
        },
        complete: function (xhr, status) {
        }
    });
}